package a_java_48_day.day4;
/**
 * 计算糖果
 */

import java.util.*;
public class Main1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int aDelb=in.nextInt();
        int bDelc=in.nextInt();
        int aAddb=in.nextInt();
        int bAddc=in.nextInt();
        if((((aAddb+aDelb)/2.0)%1==0)&&(((bAddc+bDelc)/2.0)%1==0)){
            int A=(aAddb+aDelb)/2;
            int B=(bAddc+bDelc)/2;
            int C=bAddc-B;
            if((C==B-bDelc)&&(C%1.0==0)&&(C>=0)&&(A>=0)&&(B>=0)){
                System.out.println(A+" "+B+" "+C);
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    }
}